View purchased tickets
When a user purchases a ticket on the secondary market, menta automatically manages the ticket's availability and updates the seller's ticket status to "Sold."
However, it is crucial that you also update the ticket ownership in your own platform to maintain data consistency.
Re-Sale Webhook Notifications
To facilitate this process, menta will send a webhook notifying the re-sale of the ticket. This webhook will allow you to update the ticket status and change the ownership in your system.
Make sure to properly configure the endpoint to receive these notifications and perform the necessary updates on your platform.
Upon receiving the re-sale webhook, it is essential to update the ticket ownership in your system. This ensures that secondary market buyers can access their tickets correctly in the "My Tickets" section of your platform.
{
"action": "ticket.updated",
"family": "ticket",
"data": {
"id": "YOUR_PLATFORM_TICKET_ID",
"newOwnerEmail": "new_owner@email.com",
"oldOwnerEmail": "previous_owner@email.com"
},
"metadata": {
"nominal": {
"fullName": "buyer name",
"identificationNumber": "82382923"
}
}
}